package org.xg.study.boot.common.ajax;

import lombok.*;
import java.io.Serializable;
import  org.xg.study.boot.common.constant.ResponseCode;
import java.util.Date;

/**
 * @author CMG
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class ResultData<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 结果状态 ,正常响应000000，其他状态码都为失败*/
    private int retCode = ResponseCode.SUCCESS.getRetCode();
    private String retMsg;
    private String retInfo;
    private T data;
    private Date date ;
}
